//
//  Rocord.swift
//  Billing
//
//  Created by Dale on 17/4/21.
//  Copyright © 2017年 Nari. All rights reserved.
//

import UIKit

var recordList:[Rocord] = []

class Rocord: NSObject {
    var type: String?
    var timeStamp: String?
    var money: String?
    var dateStamp: String?
    var objectId: String?
    
    
    func transeferDicToUser(dic:Dictionary<String, Any>) {
        type = (dic["type"] as? NSNumber)?.stringValue
        timeStamp = dic["timeStamp"] as? String
        money = (dic["money"] as? NSNumber)?.stringValue
        dateStamp = dic["dateStamp"] as? String
        objectId = dic["objectId"] as? String
    }
}
